<?
    $base_url = base_url();
?>

<table class="pagetable" cellspacing="0" cellpadding="2">
    <thead>
        <th width="40%">Usuario</th>
        <th align="left">Denuncia</th>
        <th width="30px">&nbsp;</th>
    </thead>
    <?
    foreach ($denuncias as $i => $denuncia) {
        echo ($i%2==0) ? "<tr class=row1>":"<tr class=row2>";
    ?>
		<td><? echo $denuncia->user_name; ?></td>
		<td><? echo $denuncia->description; ?></td>
		<td width="30px">
			<?= "<img src='".$base_url."images/delete.gif' title='Eliminar' width='16px' height='16px' class='icon_tool' onclick='borrar_denuncia(".$denuncia->id.",".$channel_id.");'>"; ?>
		</td>
    <?
       echo "</tr>";
    }
    ?>
</table>
